Tests for :set     vim: set ft=vim :

STARTTEST
:so small.vim
:set wildignore=*.png,
:set wildignore+=*.jpg
:$put =&wildignore
:/^Output goes here/+1,$w! test.out
:qa!
ENDTEST

Output goes here
